import Vue from 'vue'
import App from './App.vue'
import {Icon} from 'vant';
import 'vant/lib/index.css';
Vue.use(Icon);
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import 'animate.css'
import './utils/swiper'
import './utils/axios'
import VueLazyload from 'vue-lazyload';
import {MessageBox,Message,Notification} from 'element-ui'
Vue.config.productionTip = false
Vue.prototype.$msg=Message
Vue.prototype.$msgbox=MessageBox
Vue.prototype.$notify=Notification
Vue.use(VueLazyload,{
  preLoad:1,
  attempt:1,
  loading:'/img/loading.gif',
  error:''
})
Vue.use(ElementUI)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
